package com.fas.system.service;

import com.fas.system.domain.FasInspectionPlan;
import com.fas.system.domain.FasInspectionTask;

import java.util.List;

public interface IFasInspectionTaskService {

    /**
     * 添加巡检任务
     * @param fasInspectionPlan 巡检计划实体类
     * @return
     */
    int insertFasInspectionTask(FasInspectionPlan fasInspectionPlan);

    /**
     * 通过巡检路线id删除巡检任务表数据
     * @param lineIds
     * @return
     */
    int deleteFasInspectionTask(Long[] lineIds);

    List<FasInspectionTask> findAll(FasInspectionTask fasInspectionTask);

    int minappLineStart(Long id);
}
